import request from '@/utils/request'

// 查询实操记录列表
export function listSlOperateLog(query) {
  return request({
    url: '/projects/SlOperateLog/list',
    method: 'get',
    params: query
  })
}

// 查询实操记录详细
export function getSlOperateLog(operateId) {
  return request({
    url: '/projects/SlOperateLog/' + operateId,
    method: 'get'
  })
}

// 新增实操记录
export function addSlOperateLog(data) {
  return request({
    url: '/projects/SlOperateLog',
    method: 'post',
    data: data
  })
}

// 修改实操记录
export function updateSlOperateLog(data) {
  return request({
    url: '/projects/SlOperateLog',
    method: 'put',
    data: data
  })
}

// 删除实操记录
export function delSlOperateLog(operateId) {
  return request({
    url: '/projects/SlOperateLog/' + operateId,
    method: 'delete'
  })
}
